//------------------------------------------------------------------------------ 
// <copyright file="IBaseContainer.cs" company="Fm Computer">
//     Copyright (c) Fm Computer di Menatti Fulvia.  All rights reserved.
// </copyright>
//----------------------------------------------------------------------------- 
namespace FmjQuery
{
    using System.ComponentModel;
    using System.Web.UI;

    /// <summary>
    /// Descriptor of base template container
    /// </summary>
    public interface IBaseContainer 
    {
        /// <summary>
        /// Gets or sets Header Text
        /// </summary>
        string HeaderText
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets Content Template Control
        /// </summary>
        [Browsable(false)]
        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(JAccordionPanel))]
        ITemplate ContentTemplate
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets header container
        /// </summary>
        [Browsable(false)]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        Control HeaderContainer
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets content container
        /// </summary>
        [Browsable(false)]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        Control ContentContainer
        {
            get;
            set;
        }
    }
}